package com.itheima.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.pojo.SetmealGroup;
import org.apache.ibatis.annotations.Select;

/**
 * @author jshstart
 * @creat 2020-11-13 19:11
 */
public interface SetmealGroupMapper extends BaseMapper<SetmealGroup> {
    @Select("select group_id from t_setmeal_group where setmeal_id=#{id}")
    Long[] findAllIds(Long id);
}
